package cn.easybuy.service.news;

import cn.easybuy.dao.NewsMapper;
import cn.easybuy.pojo.News;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NewsServiceImpl extends ServiceImpl<NewsMapper, News> implements NewsService {

    @Override
    public List<News> getNewsList(Wrapper<News> wrapper) {
        return this.baseMapper.selectNewsList(wrapper);
    }
}
